<?php
/* --------------------------------------------------------------
   gm_modules_structure.php 2012-05-21 gm
   Gambio GmbH
   http://www.gambio.de
   Copyright (c) 2012 Gambio GmbH
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------
*/
?><?php 

$t_show_installed_modules_menu = false;
$t_display_installed_modules = false;
if($module_type == 'payment')
{
	$t_show_installed_modules_menu = true;
	$t_display_installed_modules = true;
}
$t_show_missing_modules_menu = true;
$t_display_missing_modules = false;
$t_ignore_files_array = array('qpay.php');

switch($_GET['set'])
{
	case 'payment':
		$t_gm_structure_array = array(
										array(
											'TITLE' => GM_MODULES_MOST_USED_TITLE,
											'MODULES' => array(
															'moneyorder',
															'paypal',
															'paypalexpress',
															'pn_sofortueberweisung',
															'clickandbuy_v2',
															'cod',
															'invoice'
														),
											'DISPLAY' => true
										),
										array(
											'TITLE' => GM_MODULES_MORE_TITLE,
											'MODULES' => array(
																'billsafe_2',
																'cc',
																'clickandbuy',
																array(
																	'TITLE' => GM_MODULES_CLASSICS_TITLE,
																	'MODULES' => array(
																						'banktransfer',
																						'cash',
																						'eustandardtransfer',
																						),
																	'DISPLAY' => false
																),
																array(
																	'TITLE' => 'Heidelpay',
																	'MODULES' => array(
																						'hp',
																						'hpcc',
																						'hpdc',
																						'hpdd',
																						'hpeps',
																						'hpgp',
																						'hpidl',
																						'hpinfo',
																						'hppp',
																						'hpppal',
																						'hpsu'
																						),
																	'DISPLAY' => false
																),
																array(
																	'TITLE' => 'iclear',
																	'MODULES' => array(
																						'iclear',
																						'iclear_creditcard',
																						'iclear_invoice',
																						'iclear_onlinebanking',
																						'iclear_prepayment'
																						),
																	'DISPLAY' => false
																),
																array(
																	'TITLE' => 'iPayment',
																	'MODULES' => array(
																						'ipayment',
																						'ipaymentelv'
																						),
																	'DISPLAY' => false
																),
																'luupws',
																array(
																	'TITLE' => 'Mobile',
																	'MODULES' => array(
																						'shopgate'
																						),
																	'DISPLAY' => false
																),	
																array(
																	'TITLE' => 'Moneybookers.com',
																	'MODULES' => array(
																						'moneybookers',
																						'amoneybookers',
																						'moneybookers_cc',
																						'moneybookers_cgb',
																						'moneybookers_csi',
																						'moneybookers_elv',
																						'moneybookers_giropay',
																						'moneybookers_ideal',
																						'moneybookers_mae',
																						'moneybookers_netpay',
																						'moneybookers_psp',
																						'moneybookers_pwy',
																						'moneybookers_sft',
																						'moneybookers_wlt'
																						),
																	'DISPLAY' => false
																),	
																array(
																	'TITLE' => 'sofort&uuml;berweisung und weitere sofort-Produkte',
																	'MODULES' => array(
																						'sofort_lastschrift',
																						'sofort_sofortlastschrift',
																						'sofort_sofortrechnung',
																						'sofort_sofortueberweisung',
																						'sofort_sofortvorkasse',
																						'sofort_ideal'
																						),
																	'DISPLAY' => false
																),
																'paypalgambio_alt',
																'paypal_gambio',
																'postfinance_epayment',		
																'saferpaygw',
																'sofortuerberweisung_direct',
																array(
																	'TITLE' => 'United Online Services',
																	'MODULES' => array(
																						'uos_giropay_modul',
																						'uos_gp_modul',
																						'uos_kreditkarte_modul',
																						'uos_lastschrift_at_modul',
																						'uos_lastschrift_de_modul',
																						'uos_vorkasse_modul'
																						),
																	'DISPLAY' => false
																),
																array(
																	'TITLE' => 'VR-Pay',
																	'MODULES' => array(
																						'vrepay_elv',
																						'vrepay_giropay',
																						'vrepay_kreditkarte'
																						),
																	'DISPLAY' => false
																),
																array(
																	'TITLE' => 'Wirecard',
																	'MODULES' => array(
																						'qpayccard',
																						'qpayccardmoto',
																						'qpayelv',
																						'qpayeps',
																						'qpaygiropay',
																						'qpayidl',
																						'qpaymaestro',
																						'qpaypaypal',
																						'qpaypbx',
																						'qpaypsc',
																						'qpayquick',
																						'qpayselect'
																						),
																	'DISPLAY' => false
																),
																'worldpay'	
														),
														'DISPLAY' => false
										),
										'DISPLAY' => false
									);
		
		break;
		
	case 'shipping':
		$t_gm_structure_array = array(
										'gambioultra',
										'chronopost',
										'dp',
										'dhl',
										'dpd',
										'fedexeu',
										'interkurier',
										'ap',
										'flat',
										'chp',
										'selfpickup',
										'upse',
										'ups',
										'zones',
										'table',
										'item',
										'freeamount',
										'zonese'
									);
		
		break;
		
	case 'ordertotal':
	case 'order_total':
		$t_gm_structure_array = array(
										'ot_billsafe',
										'ot_cod_fee',
										'ot_coupon',
										'ot_discount',
										'ot_gambioultra',
										'ot_gm_tax_free',
										'ot_gv',
										'ot_loworderfee',		
										'ot_payment',
										'ot_sofort',
										'ot_ps_fee',
										'ot_shipping',
										'ot_subtotal',
										'ot_subtotal_no_tax',
										'ot_tax',
										'ot_total',
										'ot_total_netto'
									);
		
		break;
}


?>